<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<meta name="generator" content="JsDoc Toolkit" />
		
		<title>JsDoc Reference - Function</title>
		<link href="../css/default.css" type="text/css" rel="stylesheet" media="all" />
	</head>

	<body>
		<div id="header">
</div>

		<div class="index">
			<div class="menu">
				<!-- begin publish.classesIndex -->
				<div align="center"><a href="../index.html">Class Index</a> | <a href="../files.html">File Index</a></div>

<h2 class="heading1">Classes</h2>

<ul class="classList">
	
		<li><a href="../symbols/_global_.html">_global_</a></li>
	
		<li><a href="../symbols/Array.html">Array</a></li>
	
		<li><a href="../symbols/BE.html">BE</a></li>
	
		<li><a href="../symbols/BE.comp.html">BE.comp</a></li>
	
		<li><a href="../symbols/BE.ERROR.html">BE.ERROR</a></li>
	
		<li><a href="../symbols/BE.layer.html">BE.layer</a></li>
	
		<li><a href="../symbols/BE.log.html">BE.log</a></li>
	
		<li><a href="../symbols/BE.proj.html">BE.proj</a></li>
	
		<li><a href="../symbols/BE.SettingsManager.html">BE.SettingsManager</a></li>
	
		<li><a href="../symbols/BE.time.html">BE.time</a></li>
	
		<li><a href="../symbols/BE.ui.html">BE.ui</a></li>
	
		<li><a href="../symbols/BE.ui.viewsConstructor.html">BE.ui.viewsConstructor</a></li>
	
		<li><a href="../symbols/Function.html">Function</a></li>
	
		<li><a href="../symbols/String.html">String</a></li>
	
</ul>

				<!-- end publish.classesIndex -->
			</div>
			
			<div class="fineprint" style="clear:both">
				&copy;2010<br />
				Generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.3.2 on Thu Jan 13 2011 13:25:47 GMT-0600 (CST)<br />
				HTML template: <a href="http://www.thebrightlines.com/2010/05/06/new-template-for-jsdoctoolkit-codeview/" target="_blank">Codeview</a>
			</div>
		</div>
		
		<div class="content">
			<div class="innerContent">
				<h1 class="classTitle">
					
					Built-In Namespace <span>Function</span>
				</h1>

				<p class="description summary">
					
					
					
				
					
					
					
				</p>

				

				

	<!--
	#### METHODS SUMMARY
	-->
				
					
					
						<div class="props">
							<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class Function.">
								<caption>Method Summary</caption>
								
								<thead>
									<tr>
										<th scope="col">Method Attributes</th>
										<th scope="col">Method Name and Description</th>
									</tr>
								</thead>
								
								<tbody>
									
										<tr>
											<td class="attributes">&nbsp;</td>
											<td class="nameDescription">
												<div class="fixedFont"><b><a href="../symbols/Function.html#method">method</a></b>(name, func)
												</div>
												<div class="description">Adds a method conditionally.</div>
											</td>
										</tr>
									
								</tbody>
							</table>
						</div>
					
					
					
				
				
	<!--
	#### EVENTS SUMMARY
	-->
				

	<!--
	#### CONSTRUCTOR DETAILS
	-->
				

	<!--
	#### FIELD DETAILS
	-->
				

	<!--
	#### METHOD DETAILS
	-->		
				
					<div class="details props">
						<div class="innerProps">
							<div class="sectionTitle">
								Method Detail
							</div>
							
							
								<a name="method"></a>
								
								<div class="fixedFont heading">
									<span class='lighter'>
									
									</span>
									
									
									
									<b>method</b>(name, func)
								</div>
								
								<div class="description">
									Adds a method conditionally. If the method does not exist, it is created and
defined to be that of the given function.
									
									
										<br />
										<i>Defined in: </i> <a href="../symbols/src/_Users_elevate_Dropbox_Scripts_AEScripts_BeforeEffects_src_inc_modules_BE_prototypes.jsxinc.html">BE_prototypes.jsxinc</a>.
									
									
									
								</div>
								
								
								
								
									<dl class="detailList params">
										<dt class="heading">Parameters:</dt>
										
											<dt>
												<span class="light fixedFont">{<a href="../symbols/String.html">String</a>}</span> <b>name</b>
												
											</dt>
											<dd>The name of the method.</dd>
										
											<dt>
												<span class="light fixedFont">{<a href="../symbols/Function.html">Function</a>}</span> <b>func</b>
												
											</dt>
											<dd>The function to be defined as the method.</dd>
										
									</dl>
								
								
								
									<dl class="detailList nomargin">
									
										
										
										
										
										
										
										
											<dt class="heading">Returns:</dt>
											
												<dd>Nothing.</dd>
											
										
										
										
										
										
									
									</dl>
								

								
							
						</div>
					</div>
				
				
	<!--
	#### EVENT DETAILS
	-->		
				
			</div>
		</div>
	</body>
</html>
